package top.zhaoyuliu.logbook.client.builder;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Copyright © 2021 Arain. All rights reserved.
 *
 * @Title: ParameterLbBuilder.java
 * @Prject: logbook-client
 * @Package: top.zhaoyuliu.logbook.client.builder
 * @Description: <功能详细描述>
 * @author: Arain
 * @date: 2021年1月23日 上午10:30:43
 * @version: V1.0
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class ParameterLbBuilder extends LbBuilder {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	private String url;

	private String http;

	private String requestIp;

	private String parameter;

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		ParameterLbBuilder other = (ParameterLbBuilder) obj;
		if (other.getTrackId().equals(this.getTrackId())) {
			return true;
		}
		return false;
	}

}
